Correct mem corruption if position filter used before arc or polygon filter.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 9 Feb 2005 16:09:19 +0000 (16:09 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 9 Feb 2005 16:09:19 +0000 (16:09 +0000)
gpsbabel/position.c

index 9105dfff0a2183dc27d08d0c498af1e4c87f644b..85125786744810f0f7448ef269489a4cf27dfe21 100644 (file)
@@ -321,6 +321,7 @@ radius_process(void)
                waypoint * wp = comp[i];
                waypt_add(wp);
                xfree(wp->extra_data);
+               wp->extra_data = NULL;
        }
 
        xfree(comp);